.cluster-device-update-card {
  // display: flex;
  position: relative;
  justify-content: space-between;
  min-width: 355px;
  width: 20%;
  height: 104px;
  margin: 0 15px 24px 0;
  padding: 10px 0px 0px 0px;
  border: 1px solid #e6eaef;
  padding-left: 80px;

  &-content {
    display: flex;
    flex-direction: column;
    .anticon-arrow-up {
      cursor: pointer;
      // color: #0b6fd6;
      margin-left: 8px;
    }
    .f12 {
      fonr-size: 12px;
    }
    &-media-box {
    }
  }

  @keyframes rotate {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  .running {
    height: 24px;
    transform-origin: 50% 50%;
    animation: rotate 1.5s linear infinite;
  }
  &.master {
    background: url('../../images/master.png');
    background-repeat: no-repeat;
    background-position: 12px 16px;
    background-size: 60px 60px;
  }
  &.storage {
    background: url('../../images/storage.png');
    background-repeat: no-repeat;
    background-position: 12px 16px;
    background-size: 60px 60px;
  }
  &.slave {
    background: url('../../images/slave.png');
    background-repeat: no-repeat;
    background-position: 12px 16px;
    background-size: 60px 60px;
    align-items: normal;
  }
  &-progress {
    position: absolute;
    left: 26px;
    bottom: 14px;
  }
  .ant-progress-inner {
    height: 10px;
    // background-color: rgba(0, 0, 0, 0.5);
  }
  .ant-progress-bg {
    margin: 2px 0 0 2px;
    height: 6px !important;
  }
  &.unactive {
    filter: grayscale(100%);
    filter: gray;
  }
}
.fan {
  position: absolute;
  top: 20px;
  right: 20px;
}
@media screen and (max-width: 1920px) {
  .cluster-device-update-card-content-media-box:contains(.anticon) {
    > span {
      max-width: 110px;
      white-space: nowrap; /* 禁止文本换行 */
      overflow: hidden; /* 隐藏超出部分 */
      text-overflow: ellipsis; /* 在超出部分显示省略号 */
      display: inline-block;
      vertical-align: top;
    }
  }
}
